$(function () {
  var swiper = new Swiper('.swiper-container', {
    effect: 'coverflow',
    initialSlide: 2,
    loop: true,
    autoplay: true,
    grabCursor: true,
    centeredSlides: true,
    slidesPerView: 'auto',
    slideToClickedSlide: true,
    coverflowEffect: {
      rotate: 40,
      stretch: 0,
      depth: 100,
      modifier: 1,
      slideShadows: true,
    },
    pagination: {
      el: '.swiper-pagination',
      clickable: true
    },

  });
  // var mySwiper = new Swiper('.swiper-container1', {
  //   autoplay: true,//可选选项，自动滑动
  //   pagination: {
  //     el: '.swiper-pagination1',
  //     clickable: true
  //   },
  // })



  var swiper = new Swiper('.swiper-container1', {
    slidesPerView: 3,
    spaceBetween: 40,
    autoplay: true,
    loop: true,
    freeMode: true,
    pagination: {
      el: '.swiper-pagination1',
      clickable: true,
    },
  });



});

